package com.fin.quant.instra.mysql.model;

import java.util.Date;

/**
 * AI对话会话表
 */
public class AiConversations {
    /**
     * 自增主键ID
     */
    private Long id;

    /**
     * 会话业务ID，用于业务逻辑关联
     */
    private String conversationId;

    /**
     *
     */
    private Long userId;

    /**
     * 页面ID，标识对话发生的页面（assets/portfolio/dividend等）
     */
    private String pageId;

    /**
     * 创建时间
     */
    private Date createdAt;

    /**
     * 更新时间
     */
    private Date updatedAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getConversationId() {
        return conversationId;
    }

    public void setConversationId(String conversationId) {
        this.conversationId = conversationId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getPageId() {
        return pageId;
    }

    public void setPageId(String pageId) {
        this.pageId = pageId;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }
}